#ifndef __GPS_H__
#define __GPS_H__



struct gprmc_data{
    char id;
    float time;
    char state;
    float latitude;
    char NS;
    float longitude;
    char EW;
    float speed;
    int date;
    char mode;
    char check;
};

extern void get_gps_data(char *buff,struct gprmc_data *gps_data);
extern int set_uart(int fd, int speed, int bits, char check, int stop);

#endif
